


#include "marcos.h"
#include "player.h"

player::player() {
	point = 0;
	hand = NULL;
	int new status[2];

}

// --------------------------------------------

void player::setPoint(int newPoint) {
	point = newPoint;

	return;
	
}

void player::setHand(const int &newHand[]) {
	hand = newHand;
	
	return;
	
}

int player::discard (int index) {

	int result = *hand[index];
	
	for (;index < TILES_HUM_HAND; index++) {
		hand[index] = hand[index+1];
	}
	
	return result;
	
}


// --------------------------------------------





void player::chi(const int &currTileIndex); {
	int temp = 0;
	
	if (currTileIndex <= 107) {
		
		if (currTileIndex <= TILES_MAN_MIN + 3) {
			while (temp < 
			
			
			
			
			
			
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		